<?php
// +----------------------------------------------------------------------
// | 跨域设置
// +----------------------------------------------------------------------
return [
    'paths' => [
        'api/admin/*',
        'api/app/*'
    ],
    'allowed_origins' => ['*'],
    'allowed_methods' => ['*'],
    'allowed_headers' => ['*'],
    'max_age' => 7200,
    'supports_credentials' => true,
];
